<?php
namespace app\controllers\api\verifycode;

use app\libs\VerifyCode;
use app\services\VerifyCodeService;

class GetController {

    public function run() {
        $service = new VerifyCodeService();
        $verify = new VerifyCode();

        $code = $verify->getVerifyCodes();
        $service->sendVerifyCode($code);
        $verify->showVerifyCodeImage();
    }

}
